package domain.response;

import domain.AppFunction;
import domain.LyyBaseResponse;

import java.util.List;

public class GetAllFunctionResponse extends LyyBaseResponse {
    private List<AppFunction> functionList;

    public GetAllFunctionResponse() {
    }

    public GetAllFunctionResponse(int status, String errMsg, List<AppFunction> functionList) {
        super(status, errMsg);
        this.functionList = functionList;
    }

    public List<AppFunction> getFunctionList() {
        return functionList;
    }

    public void setFunctionList(List<AppFunction> functionList) {
        this.functionList = functionList;
    }

    @Override
    public String toString() {
        return "GetAllFunctionResponse{" +
                "functionList=" + functionList +
                '}';
    }
}
